.IPFilteringAddOrEditModal {
    .modal-dialog {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 600px;
        border: 1 px solid rgba(var(--center-channel-color-rgb), 0.08);
        border-radius: 12px;
        margin: auto;
        transform: translate(-50%, -50%) !important;
    }

    .modal-content {
        border-radius: 12px;
    }

    .modal-header {
        .close {
            &:hover {
                background-color:
                    rgba(
                        var(--center-channel-color-rgb),
                        0.08
                    );
                color: rgba(var(--center-channel-color-rgb), 0.72);
            }

            &:active {
                background-color: rgba(var(--button-bg-rgb), 0.08);
                color: var(--button-bg);
            }

            top: 26px;
            right: 26px;
            width: 24px;
            height: 24px;
            border-radius: 4px;
            color: rgba(var(--center-channel-color-rgb), 0.56) !important;
            font-family:
                'Open Sans',
                sans-serif;
            font-size: 32px;
            font-weight: 400;
        }

        .title {
            font-family: Metropolis, sans-serif;
            font-size: 22px;
            font-style: normal;
            font-weight: 600;
            line-height: 28px;
            text-align: left;
        }

        display: block;
        min-height: 48px;
        padding-top: 26px;
        padding-right: 32px;
        padding-bottom: 0;
        padding-left: 32px;
        border: 0;
        border-radius: 12px;
        background: var(--center-channel-bg) !important;
        color: var(--center-channel-color);
    }

    .modal-body {
        display: flex;
        overflow: hidden;
        width: 100%;
        flex-direction: column;
        padding-top: 24px;
        padding-right: 32px;
        padding-bottom: 26px;
        padding-left: 32px;

        .current_ip_notice {
            display: flex;
            max-width: 536px;
            height: 52px;
            border: 1px rgba(87, 158, 255, 0.16) solid;
            border-radius: 4px;
            background: rgba(87, 158, 255, 0.08);

            .Content {
                display: flex;
                width: 536px;
                height: 52px;
                padding: 16px;
                color: var(--center-channel-color, #3f4350);
                font-family: Open Sans;
                font-size: 14px;
                font-style: normal;
                font-weight: 600;
                gap: 12px;
                line-height: 20px;

                span {
                    display: flex;
                    height: 20px;
                    align-items: center;
                    line-height: 20px;

                    svg {
                        width: 20px;
                        height: 20px;
                        margin-right: 12px;
                        fill: #5d89ea;
                    }
                }
            }
        }

        .inputs {
            color: var(--center-channel-color, #3f4350);
            font-family: Open Sans;
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 20px;

            > div {
                margin-top: 24px;

                .Input_container {
                    margin-top: 8px;
                }

                input {
                    font-weight: normal;
                }
            }

            > p {
                margin-top: 8px;
                font-weight: 400;
            }
        }

        .buttons {
            margin-top: 32px;
            text-align: right;
        }
    }

    .modal-footer {
        padding: 24px 32px;
        border-radius: 12px;
        border-top: none;
        font-family: Open Sans;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
    }
}
